/**
 * 对话框
 */

toSubmit = function () {
    var question = $("#question").val();
    var username = $("#username",window.parent.document).val();
    var userId = $("#userId",window.parent.document).val();
    var ajax = new $ax(Feng.ctxPath + "/question/question?"+
        "userId=" + userId +
        "&username=" + username +
        "&question=" + question, function (data) {
        Feng.success("成功!");
        window.parent.assess.table.refresh();
        parent.layer.close(window.parent.assess.layerIndex)
    }, function (data) {
        parent.layer.close(window.parent.assess.layerIndex)
    });
    ajax.start();
};